package com.example.bili.dao;
import com.example.bili.entity.Comments;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;


import java.util.List;


public interface CommentsMapper {
    //查询评论
    List<Comments> getall();
    //添加评论
    int add(@Param("userId")int userId,
            @Param("content")String content);
}
